package com.biz.primus.model.promotion.vo;

import com.biz.primus.model.promotion.enums.PromotionGiftTypeEnum;
import com.biz.primus.model.promotion.enums.PromotionPointGiftTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;

/**
 * 买赠促销详情Vo
 *
 * @author david-liu
 */
@Getter
@Setter
@ApiModel(value = "买赠促销详情")
public class PurchaseGiftVo implements Serializable {
    private static final long serialVersionUID = 4941748794114773966L;

    @ApiModelProperty(value = "赠品类型")
    private PromotionGiftTypeEnum giftType;

    @ApiModelProperty(value = "赠品ID")
    private List<Long> giftProductIds;

    @ApiModelProperty(value = "赠送商品数量")
    private Integer giftProductQuantity;

    @ApiModelProperty(value = "赠送的商品是否限制库存")
    private Boolean isGiftProductLimitStock;

    @ApiModelProperty(value = "积分增长方式")
    private PromotionPointGiftTypeEnum pointGiftType;

    @ApiModelProperty(value = "赠送积分数量")
    private Integer pointQuantity;

    @ApiModelProperty(value = "结算时按照倍数增加积分")
    private Integer pointIncreaseTimes;

    @ApiModelProperty(value = "优惠券集合")
    private Map<Long, Integer> coupons;


}
